# -*- coding:UTF-8 -*-
"""
@Project : pythonProject
@File    : Python-M04.py
@IDE     : PyCharm
@Author  : WorldWind(1772830365@qq.com)
@Address : China - HeiLongjiang - Herbin
@Date    : 2025/7/8 下午9:08
"""
# b.将二维列表 [[1,2],[3,4],[5,6]] 转为一维列表 [1,2,3,4,5,6]
list1 = [[1,2],[3,4],[5,6]]
list2 = []
for i in list1:
    for j in i:
        list2.append(j)
print(list2)